from rest_framework.versioning import (
    AcceptHeaderVersioning,
    URLPathVersioning,
    NamespaceVersioning,
    HostNameVersioning,
    QueryParameterVersioning,
)

# MyDefaultVersioning = URLPathVersioning()


class MyDefaultVersioning(QueryParameterVersioning):
    """地址栏提供版本标识"""
    # default_version = ...
    # allowed_versions = ...
    # version_param = ...